package com.qh.pay.domain;

import jodd.datetime.DateTimeStamp;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 扫码通道配置
 * 
 * @date 2017-12-14 14:37:38
 */
public class PayQrConfigDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键id
	private Integer id;

	//支付渠道
	private String outChannel;
	//收款账号
	private String accountNo;
	//收款名称
	private String accountName;
	//收款人电话
	private String accountPhone;

	private LocalDateTime endDate;

	public LocalDateTime getEndDate() {
		return endDate;
	}

	public void setEndDate(LocalDateTime endDate) {
		this.endDate = endDate;
	}

	//备注信息
	private String memo;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	//备注信息
	private int status;

	private int useStatus;
	private int payStatus;


	public void setPayStatus(int payStatus) {
		this.payStatus = payStatus;
	}

	public int getPayStatus() {
		return payStatus;
	}

	public int getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(int useStatus) {
		this.useStatus = useStatus;
	}

	public String getQrs() {
		return qrs;
	}

	public void setQrs(String qrs) {
		this.qrs = qrs;
	}

	//收款二维码图片  金额和图片路径
	private String qrs;

//	public List<QrsDO> getPostQrs() {
//		return postQrs;
//	}
//
//	public void setPostQrs(List<QrsDO> postQrs) {
//		this.postQrs = postQrs;
//	}
//
//	private List<QrsDO> postQrs;
//	//收款二维码图片  金额和图片路径
//	private Map<String,Integer> qrs;
	//支付成本费率  一般为 0
	private BigDecimal costRate;

	//最小额度
	private double minMoney;
	//最大额度
	private double maxMoney;
	//当前付款金额
	private double money;

	private String provinces;
	//创建时间
	private Date createDate;

	public void setProvinces(String provinces) {
		this.provinces = provinces;
	}

	public String getProvinces() {
		return provinces;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	//更新时间
	private Date updateDate;

	public double getMinMoney() {
		return minMoney;
	}

	public double getMaxMoney() {
		return maxMoney;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}



	public void setMinMoney(double minMoney) {
		this.minMoney = minMoney;
	}

	public void setMaxMoney(double maxMoney) {
		this.maxMoney = maxMoney;
	}

	/**
	 * 设置：主键id
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：主键id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：支付渠道
	 */
	public void setOutChannel(String outChannel) {
		this.outChannel = outChannel;
	}
	/**
	 * 获取：支付渠道
	 */
	public String getOutChannel() {
		return outChannel;
	}
	/**
	 * 设置：收款账号
	 */
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	/**
	 * 获取：收款账号
	 */
	public String getAccountNo() {
		return accountNo;
	}
	/**
	 * 设置：收款名称
	 */
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	/**
	 * 设置：收款人电话
	 */
	public void setAccountPhone(String accountPhone) {
		this.accountPhone = accountPhone;
	}
	/**
	 * 获取：收款名称
	 */
	public String getAccountName() {
		return accountName;
	}
	/**
	 * 获取：收款人电话
	 */
	public String getAccountPhone() {
		return accountPhone;
	}

	/**
	 * 设置：备注信息
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}
	/**
	 * 获取：备注信息
	 */
	public String getMemo() {
		return memo;
	}
//	/**
//	 * 设置：收款二维码图片
//	 */
//	public void setQrs(Map<String,Integer> qrs) {
//		this.qrs = qrs;
//	}
//	/**
//	 * 获取：收款二维码图片
//	 */
//	public Map<String,Integer> getQrs() {
//		return qrs;
//	}
	public BigDecimal getCostRate() {
		return costRate;
	}
	public void setCostRate(BigDecimal costRate) {
		this.costRate = costRate;
	}

}
